#include "complex.h"


int main()
{
    Complex com1 = Complex{2.2, 3.2};
    std::cout << "display com1:" << std::endl;

    com1.display();
    Complex com2 = Complex{22.2, 32.2};
    std::cout << "display com2:" << std::endl;
    com2.display();

    Complex com3 = com1+com2;
    Complex com4 = com1-com2;
    std::cout << "display com3:" << std::endl;
    com3.display();
    std::cout << "display com4:" << std::endl;
    com4.display();
    return 0;
}